package com.jvm.jdbc.util;


import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author qingshan
 * @since 2020-10-11 15:34
 */
public class User {

    private int id;

    private String userName;

    private int age;

    private String sex;

//    private Date birth;

//    private Date createDate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                '}';
    }
}
